﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.ComponentModel;

namespace UIKit.Controls
{
    public class IImageModel : INotifyPropertyChanged
    {
        public double Width { get; set; }
        public double Height { get; set; }
        public double ImgRatio { get; set; }
        public string Url { get; set; }
        public double Left { get; set; }
        public double Top { get; set; }
        public bool Showed { get; set; }

        public event PropertyChangedEventHandler PropertyChanged;
        public void NotifyProeprtyChanged(string proerptyName)
        {
            if (this.PropertyChanged != null)
            {
                this.PropertyChanged(this, new PropertyChangedEventArgs(proerptyName));
            }
        }
    }
}
